package com.bfsuol.bfsuolframework.core;

/**
 * 常量类
 * @author caoxl
 *
 */
public class BfsuolConstants {
	
	/**
	 * 登录信息保存到Session中的key
	 */
	public static final String SESSION_LOGININFO_KEY = "key_login_info_session";
	/**
	 * 登录的url地址
	 */
	public static final String CONFIG_LOGIN_URL = "login_url";
	/**
	 * 登录的url地址
	 */
	public static final String CONFIG_LOGOUT_URL = "logout_url";
	
	/**
	 * 消息类型：信息
	 */
	public static final String MESSAGE_TYPE_INFORMATION = "information";
	/**
	 * 消息类型：警告
	 */
	public static final String MESSAGE_TYPE_WARNING = "warning";
	/**
	 * 消息类型：问题
	 */
	public static final String MESSAGE_TYPE_QUESTION = "question";
	/**
	 * 消息类型：错误
	 */
	public static final String MESSAGE_TYPE_ERROR = "error";
	
	/**
	 * 消息结果：成功
	 */
	public static final String MESSAGE_RESULT_SUCCESS = "success";
	/**
	 * 消息结果：失败
	 */
	public static final String MESSAGE_RESULT_FAIL = "fail";
	
	
	/** 是否:100101=是 */
	public static final Integer GLOBAL_YESNO_YES = 100101;
	/** 是否:100102=否 */
	public static final Integer GLOBAL_YESNO_NO = 100102;
	/** * 公共 -> 是否 100101=是;100102=否  */
	public static final Integer[] GLOBAL_YESNO = {GLOBAL_YESNO_YES,  GLOBAL_YESNO_NO};
	
}
